package com.example.book.controller;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class LogTimeTest {

final static String aab = "OPOPOPXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXaaaaaaaaaa" +
        "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb" +
        "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb" +
        "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbddddddddddddddddddddddddddddddd" +
        "ddddddddddddddddddddddddddddddddddddddddddddddddddQQQ";
    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder();

//        for (int i = 0 ; i <10000; i++){
//            sb = sb.append(aab);
//        }
        long a = System.currentTimeMillis();
        log.info("big table {}", sb.toString());
        System.out.println(System.currentTimeMillis() - a);
    }
}
